2020-2021 Sunseeker Telemetry and Lighting System
lcd_b_ex1_4mux.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

int main (void)
 

Function Documentation

◆ main()

int main ( void  )

LCD_B, 4-Mux example, display a string "430" on FH-1138P LCD. This examples shows how to config LCD_B in 4-Mux mode with DriverLib functions on the MSP430FG6626 target board (connected with FH-1138P LCD). The internal voltage is sourced to v2 through v4 and v5 is connected to ground. Charge pump is enabled and one 4.7uF capacitor is required to connected from pin LCDCAP to ground.

It uses LCD pin S0~S11 as segment pins. f(LCD) = 32768Hz/((1+1)*2^4) = 1024Hz, ACLK = ~32768Hz, MCLK = SMCLK = default DCODIV ~1MHz.

          MSP430FG6626
        -----------------
    /|\|                 |
     | |              XIN|--

GND –|RST | ~32768Hz | | XOUT|– | | | COM3|-------------—| | | COM2|------------—|| |–4.7uF -|LCDCAP COM1|-----------—||| | COM0|----------—|||| | | ----------— | S0~S11|—| 1 2 3 4 5 6 | | | ----------— | | FH-1138P LCD

This example uses the following peripherals and I/O signals on MSP430FG6626 target board. You must review these and change as needed for your own board:

  • LCD_B
  • GPIO Port peripheral (for LCD pins)

Definition at line 71 of file lcd_b_ex1_4mux.c.